home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / borland / prbgi097.zip / DRIVERS.ASM < prev    next >
Assembly Source File  |  1992-12-15  |  66KB  |  1,202 lines

  1. MASM51
  2. .XALL
  3.  
  4. MaxDriversNo    = 24;  <----- If you want to define more drivers change this number
  5.  
  6. ; ----------------------------------------------------------------------
  7. ; Adding, deleting or changing the order of drivers definitions requires
  8. ; appriopriate changes in PRTGRAPH.H and PDrivers.pas.
  9. ; ----------------------------------------------------------------------
  10.  
  11. include drivers.inc
  12.  
  13. MODEL FarStack large
  14. ;;.MODEL FarStack large pascal
  15.  
  16. IFDEF WithCode
  17.  
  18.    .CODE
  19.  
  20.    PUBLIC pascal PRT_GetDriversAddress
  21.    PRT_GetDriversAddress PROC pascal FAR
  22.                    mov  AX , offset PRT__Drivers
  23.                    mov  DX , seg PRT__Drivers
  24.                    RET
  25.    PRT_GetDriversAddress ENDP
  26.  
  27. ENDIF
  28.  
  29.   .DATA
  30.  
  31.                even
  32. PRT__Drivers   LABEL WORD
  33.                  db  'PR' ; identification word
  34.                  dw  EndHeadSection-PRT__Drivers     ; head size in bytes
  35. HeadSection      LABEL  word
  36.                  db  96,0   ; version
  37.                  db  96,0   ; minimum program version
  38. PRT__DriversNo dw  ?  ; will be defined at the end of the file
  39.                  dw  (DriversOffsets - PRT__Drivers) /2  ; index to DriversOffsets
  40.                  dw  (DriversNamesOffsets-PRT__Drivers)/2  ; index to DriversNamesOffsets
  41. DriversOffsets  dw  MaxDriversNo+1 dup (0) ; place for drivers definitions offsets
  42.  
  43. EndHeadSection label word
  44.  
  45.  
  46.         ; /*===============================*/
  47.         ; /* NULL (dummy) driver - not used currently */
  48.         ; /*===============================*/
  49.          DriverDef
  50.          ;         4,                            /* ModesNo  */
  51.          CompressionType 0
  52.          DriverName      <'Dummy'> ;
  53.          InitPRTStr      NULL;                   /* Init PRT string */
  54.          EndPRTStr       NULL;                   /* End PRT string */
  55.          CompressedStr   NULL;                   /* CompressedStr  */
  56.          UncompressedStr NULL;                   /* UncompressedStr  */
  57.          LeftMargin      NULL,NULL,1,100;      /* LeftMarginStr1,LeftMarginStr2,LeftMarginDiv */
  58.          TopMargin       NULL,NULL,1,166;      /* TopMarginStr1,TopMarginStr2,TopMarginDiv */
  59.          ColorsStrings   NULL,NULL, NULL;         /* ColorStr1,ColorStr2, ColorsMap */
  60.          Options         0
  61.  
  62.          ModeDef  60,60,2,<Do-not use this driver>;  /* X and Y densities, ColorsNo */
  63.          ModeOptions    0;                       /* Planes, SimPlanes */
  64.          ColorPalette   NULL;                    /* Color palette        */
  65.          InitGraphStr   NULL;                    /* InitGraphStr */
  66.          EndGraphStr    NULL;                    /* EndGraphStr  */
  67.          PicWidth
  68.          InitTransfer   NULL,NULL
  69.          PinsPerHead    8
  70.          PixelsStep     1
  71.          EolnStr        NULL;                         /* EolnStr          */
  72.          SmallEoln      NULL,NULL,2,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  73.          EndDriverDef   ; <----------------------------
  74.  
  75.         ; /*===============================*/
  76.         ; /* 9-pins : STAR SR              */
  77.         ; /*===============================*/
  78.          DriverDef
  79.          ;         4,                            /* ModesNo  */
  80.          CompressionType 0
  81.          DriverName      <'9 pins: STAR SG/SR'> ;
  82.          InitPRTStr      NULL;                   /* Init PRT string */
  83.          EndPRTStr       NULL;                   /* End PRT string */
  84.          CompressedStr   NULL;                   /* CompressedStr  */
  85.          UncompressedStr NULL;                   /* UncompressedStr  */
  86.          LeftMargin     <1bh,'M'>,NULL,1,100;      /* LeftMarginStr1,LeftMarginStr2,LeftMarginDiv */
  87.          TopMargin      <1bh,'R'>,NULL,1,166;      /* TopMarginStr1,TopMarginStr2,TopMarginDiv */
  88.          ColorsStrings  NULL,NULL, NULL;         /* ColorStr1,ColorStr2, ColorsMap */
  89.          Options        0
  90.  
  91.          ModeDef  60,72,2;                       /* X and Y densities, ColorsNo */
  92.          ModeOptions  0;                         /* Planes, SimPlanes */
  93.          ColorPalette   NULL;                    /* Color palette        */
  94.          InitGraphStr   NULL;                    /* InitGraphStr */
  95.          EndGraphStr    NULL;                    /* EndGraphStr  */
  96.          PicWidth
  97.          InitTransfer <CR, _Esc,'g',0>,NULL
  98.          PinsPerHead    8
  99.          PixelsStep     1
  100.          EolnStr   NULL;                         /* EolnStr          */
  101.          SmallEoln  <_Esc,04Ah>,NULL,2,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  102.  
  103.          ModeDef  120,72,2;                      /* X and Y densities, ColorsNo */
  104.          ModeOptions  0;                         /* Planes, SimPlanes */
  105.          ColorPalette   NULL;                    /* Color palette        */
  106.          InitGraphStr   NULL;                    /* InitGraphStr */
  107.          EndGraphStr    NULL;                    /* EndGraphStr  */
  108.          PicWidth
  109.          InitTransfer <CR, _Esc,'g',1>,NULL
  110.          PinsPerHead    8
  111.          PixelsStep     1
  112.          EolnStr   NULL;                         /* EolnStr          */
  113.          SmallEoln  <_Esc,04Ah>,NULL,2,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  114.  
  115.          ModeDef  120,144,2;                     /* X and Y densities, ColorsNo */
  116.          ModeOptions  0;                         /* Planes, SimPlanes */
  117.          ColorPalette       NULL;                /* Color palette        */
  118.          InitGraphStr   NULL;                    /* InitGraphStr */
  119.          EndGraphStr    NULL;                    /* EndGraphStr  */
  120.          PicWidth
  121.          InitTransfer <CR, _Esc,'g',1>,NULL
  122.          PinsPerHead    8
  123.          PixelsStep     2
  124.          EolnStr   NULL;                         /* EolnStr          */
  125.          SmallEoln  <_Esc,04Ah>,NULL,1,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  126.  
  127.          ModeDef  240,144,2;                     /* X and Y densities, ColorsNo */
  128.          ModeOptions  0;                         /* Planes, SimPlanes */
  129.          ColorPalette     NULL;                  /* Color palette        */
  130.          InitGraphStr   NULL;                    /* InitGraphStr */
  131.          EndGraphStr    NULL;                    /* EndGraphStr  */
  132.          PicWidth
  133.          InitTransfer <CR, _Esc,'g',3>,NULL
  134.          PinsPerHead    8
  135.          PixelsStep     2
  136.          EolnStr   NULL;                         /* EolnStr          */
  137.          SmallEoln  <_Esc,04Ah>,NULL,1,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  138.  
  139.          EndDriverDef   ; <----------------------------
  140.  
  141.  
  142.          ;/*===============================*/
  143.          ;/* 9 pins : IBM, EPSON */
  144.          ;/* graphic mode: Esc, 'K'/'L'/'Z'  */
  145.          ;/*===============================*/
  146.  
  147.          DriverDef
  148.          ;         4,                            /* ModesNo  */
  149.          CompressionType 0
  150.          DriverName     <'9 pins: IBM, EPSON'>
  151.          InitPRTStr      NULL;                   /* Init PRT string */
  152.          EndPRTStr       NULL;                   /* End PRT string */
  153.          CompressedStr   NULL;                   /* CompressedStr  */
  154.          UncompressedStr NULL;                   /* UncompressedStr  */
  155.          LeftMargin     <_Esc,'l'>,NULL,1,100;      /* LeftMarginStr1,LeftMarginStr2,LeftMarginDiv */
  156.          TopMargin      <_Esc,'c'>,NULL,1,166;      /* TopMarginStr1,TopMarginStr2,TopMarginDiv */
  157.          ColorsStrings  NULL,NULL, NULL;         /* ColorStr1,ColorStr2, ColorsMap */
  158.          Options        0
  159.  
  160.          ModeDef  60,72,2;                       /* X and Y densities, ColorsNo */
  161.          ModeOptions  0;                         /* Planes, SimPlanes */
  162.          ColorPalette       NULL;                /* Color palette        */
  163.          InitGraphStr   NULL;                    /* InitGraphStr */
  164.          EndGraphStr    NULL;                    /* EndGraphStr  */
  165.          PicWidth
  166.          InitTransfer <CR, _Esc,'K'>,NULL
  167.          PinsPerHead    8
  168.          PixelsStep     1
  169.          EolnStr   NULL;                         /* EolnStr          */
  170.          SmallEoln  <_Esc,04Ah>,NULL,3,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  171.  
  172.          ModeDef  120,72,2;                      /* X and Y densities, ColorsNo */
  173.          ModeOptions  0;                         /* Planes, SimPlanes */
  174.          ColorPalette       NULL;                /* Color palette        */
  175.          InitGraphStr   NULL;                    /* InitGraphStr */
  176.          EndGraphStr    NULL;                    /* EndGraphStr  */
  177.          PicWidth
  178.          InitTransfer <CR, _Esc,'L'>,NULL
  179.          PinsPerHead    8
  180.          PixelsStep     1
  181.          EolnStr   NULL;                         /* EolnStr          */
  182.          SmallEoln  <_Esc,04Ah>,NULL,3,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  183.  
  184.          ModeDef  120,216,2;                     /* X and Y densities, ColorsNo */
  185.          ModeOptions  0;                         /* Planes, SimPlanes */
  186.          ColorPalette       NULL;                /* Color palette        */
  187.          InitGraphStr   NULL;                    /* InitGraphStr */
  188.          EndGraphStr    NULL;                    /* EndGraphStr  */
  189.          PicWidth
  190.          InitTransfer <CR, _Esc,'L'>,NULL
  191.          PinsPerHead    8
  192.          PixelsStep     3
  193.          EolnStr   NULL;                         /* EolnStr          */
  194.          SmallEoln  <_Esc,04Ah>,NULL,1,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  195.  
  196.          ModeDef  240,216,2;                     /* X and Y densities, ColorsNo */
  197.          ModeOptions  0;                         /* Planes, SimPlanes */
  198.          ColorPalette       NULL;                /* Color palette        */
  199.          InitGraphStr   NULL;                    /* InitGraphStr */
  200.          EndGraphStr    NULL;                    /* EndGraphStr  */
  201.          PicWidth
  202.          InitTransfer <CR, _Esc,'Z'>,NULL
  203.          PinsPerHead    8
  204.          PixelsStep     3
  205.          EolnStr   NULL;                         /* EolnStr          */
  206.          SmallEoln  <_Esc,04Ah>,NULL,1,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  207.  
  208.          EndDriverDef   ; <----------------------------
  209.  
  210.  
  211.          ;/*===============================*/
  212.          ;/* 9 pins : EPSON  II            */
  213.          ;/* graphic mode: Esc '*' n       */
  214.          ;/*===============================*/
  215.  
  216.          DriverDef
  217.          ;         4,                            /* ModesNo  */
  218.          CompressionType 0
  219.          DriverName     <'9 pins: Epson'>
  220.          InitPRTStr      NULL;                   /* Init PRT string */
  221.          EndPRTStr       NULL;                   /* End PRT string */
  222.          CompressedStr   NULL;                   /* CompressedStr  */
  223.          UncompressedStr NULL;                   /* UncompressedStr  */
  224.          LeftMargin     <_Esc,'l'>,NULL,1,100;      /* LeftMarginStr1,LeftMarginStr2,LeftMarginDiv */
  225.          TopMargin      <_Esc,'c'>,NULL,1,166;      /* TopMarginStr1,TopMarginStr2,TopMarginDiv */
  226.          ColorsStrings  NULL,NULL, NULL;         /* ColorStr1,ColorStr2, ColorsMap */
  227.          Options        0
  228.  
  229.          ModeDef  60,72,2;                       /* X and Y densities, ColorsNo */
  230.          ModeOptions  0;                         /* Planes, SimPlanes */
  231.          ColorPalette       NULL;                /* Color palette        */
  232.          InitGraphStr   NULL;                    /* InitGraphStr */
  233.          EndGraphStr    NULL;                    /* EndGraphStr  */
  234.          PicWidth
  235.          InitTransfer <CR, _Esc,'*',0>,NULL
  236.          PinsPerHead    8
  237.          PixelsStep     1
  238.          EolnStr   NULL;                         /* EolnStr          */
  239.          SmallEoln  <_Esc,04Ah>,NULL,3,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  240.  
  241.          ModeDef  120,72,2;                      /* X and Y densities, ColorsNo */
  242.          ModeOptions  0;                         /* Planes, SimPlanes */
  243.          ColorPalette       NULL;                /* Color palette        */
  244.          InitGraphStr   NULL;                    /* InitGraphStr */
  245.          EndGraphStr    NULL;                    /* EndGraphStr  */
  246.          PicWidth
  247.          InitTransfer <CR, _Esc,'*',1>,NULL
  248.          PinsPerHead    8
  249.          PixelsStep     1
  250.          EolnStr   NULL;                         /* EolnStr          */
  251.          SmallEoln  <_Esc,04Ah>,NULL,3,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  252.  
  253.          ModeDef  120,216,2;                     /* X and Y densities, ColorsNo */
  254.          ModeOptions  0;                         /* Planes, SimPlanes */
  255.          ColorPalette       NULL;                /* Color palette        */
  256.          InitGraphStr   NULL;                    /* InitGraphStr */
  257.          EndGraphStr    NULL;                    /* EndGraphStr  */
  258.          PicWidth
  259.          InitTransfer <CR, _Esc,'*',1>,NULL
  260.          PinsPerHead    8
  261.          PixelsStep     3
  262.          EolnStr   NULL;                         /* EolnStr          */
  263.          SmallEoln  <_Esc,04Ah>,NULL,1,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  264.  
  265.          ModeDef  240,216,2;                     /* X and Y densities, ColorsNo */
  266.          ModeOptions  0;                         /* Planes, SimPlanes */
  267.          ColorPalette       NULL;                /* Color palette        */
  268.          InitGraphStr   NULL;                    /* InitGraphStr */
  269.          EndGraphStr    NULL;                    /* EndGraphStr  */
  270.          PicWidth
  271.          InitTransfer <CR, _Esc,'*',3>,NULL
  272.          PinsPerHead    8
  273.          PixelsStep     3
  274.          EolnStr   NULL;                         /* EolnStr          */
  275.          SmallEoln  <_Esc,04Ah>,NULL,1,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  276.  
  277.          EndDriverDef   ; <----------------------------
  278.  
  279.          ;/*===============================*/
  280.          ;/* 9-pins : PANASONIC KX-P1124   */
  281.          ;/*===============================*/
  282.  
  283.          DriverDef
  284.          ;         4,                            /* ModesNo  */
  285.          CompressionType 0
  286.          DriverName       <'9 pins: Panasonic KX-P1124'>
  287.          InitPRTStr      NULL;                   /* Init PRT string */
  288.          EndPRTStr       NULL;                   /* End PRT string */
  289.          CompressedStr   NULL;                   /* CompressedStr  */
  290.          UncompressedStr NULL;                   /* UncompressedStr  */
  291.          LeftMargin     <_Esc,'l'>,NULL,1,100;      /* LeftMarginStr1,LeftMarginStr2,LeftMarginDiv */
  292.          TopMargin      <_Esc,'c'>,NULL,1,166;      /* TopMarginStr1,TopMarginStr2,TopMarginDiv */
  293.          ColorsStrings  NULL,NULL, NULL;         /* ColorStr1,ColorStr2, ColorsMap */
  294.          Options        0
  295.  
  296.          ModeDef  60,72,2;                       /* X and Y densities, ColorsNo */
  297.          ModeOptions  0;                         /* Planes, SimPlanes */
  298.          ColorPalette       NULL;                /* Color palette        */
  299.          InitGraphStr   NULL;                    /* InitGraphStr */
  300.          EndGraphStr    NULL;                    /* EndGraphStr  */
  301.          PicWidth
  302.          InitTransfer <CR, _Esc,'K'>,NULL
  303.          PinsPerHead    8
  304.          PixelsStep     1
  305.          EolnStr   NULL;                         /* EolnStr          */
  306.          SmallEoln  <_Esc,04Ah>,NULL,5,2          /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  307.  
  308.          ModeDef  120,72,2;                      /* X and Y densities, ColorsNo */
  309.          ModeOptions  0;                         /* Planes, SimPlanes */
  310.          ColorPalette       NULL;                /* Color palette        */
  311.          InitGraphStr   NULL;                    /* InitGraphStr */
  312.          EndGraphStr    NULL;                    /* EndGraphStr  */
  313.          PicWidth
  314.          InitTransfer <CR, _Esc,'L'>,NULL
  315.          PinsPerHead    8
  316.          PixelsStep     1
  317.          EolnStr   NULL;                         /* EolnStr          */
  318.          SmallEoln  <_Esc,04Ah>,NULL,5,2;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  319.  
  320.          ModeDef  120,144,2;                     /* X and Y densities, ColorsNo */
  321.          ModeOptions  0;                         /* Planes, SimPlanes */
  322.          ColorPalette   NULL;                    /* Color palette        */
  323.          InitGraphStr   NULL;                    /* InitGraphStr */
  324.          EndGraphStr    NULL;                    /* EndGraphStr  */
  325.          PicWidth
  326.          InitTransfer <CR, _Esc,'L'>,NULL
  327.          PinsPerHead    8
  328.          PixelsStep     2
  329.          EolnStr   NULL;                         /* EolnStr          */
  330.          SmallEoln  <_Esc,04Ah>,NULL,5,4;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  331.  
  332.          ModeDef  240,144,2;                     /* X and Y densities,, ColorsNo */
  333.          ModeOptions  0;                         /* Planes, SimPlanes */
  334.          ColorPalette       NULL;                /* Color palette        */
  335.          InitGraphStr   NULL;                    /* InitGraphStr */
  336.          EndGraphStr    NULL;                    /* EndGraphStr  */
  337.          PicWidth
  338.          InitTransfer <CR, _Esc,'Z'>,NULL
  339.          PinsPerHead    8
  340.          PixelsStep     2
  341.          EolnStr   NULL;                         /* EolnStr          */
  342.          SmallEoln  <_Esc,04Ah>,NULL,5,4;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  343.          EndDriverDef   ; <----------------------------
  344.  
  345.          if 0
  346.             ;/*===============================*/
  347.             ;/* 9 pins : IBM, EPSON color */
  348.             ;/*===============================*/
  349.  
  350.             DriverDef
  351.             ;         4,                            /* ModesNo  */
  352.             CompressionType 0
  353.             DriverName       <'9 pins(color): IBM, EPSON'>
  354.             InitPRTStr      <_Esc,'U1'>;             /* Init PRT string */
  355.             EndPRTStr       NULL;                   /* End PRT string */
  356.             CompressedStr   NULL;                   /* CompressedStr  */
  357.             UncompressedStr NULL;                   /* UncompressedStr  */
  358.             LeftMargin     <_Esc,'l'>,NULL,1,100;      /* LeftMarginStr1,LeftMarginStr2,LeftMarginDiv */
  359.             TopMargin      <_Esc,'c'>,NULL,1,166;      /* TopMarginStr1,TopMarginStr2,TopMarginDiv */
  360.             ColorsStrings  <_Esc,'r'>,NULL, NULL;    /* ColorStr1,ColorStr2, ColorsMap */
  361.             Options        0
  362.  
  363.             ModeDef  60,72,8;                       /* X and Y densities, ColorsNo */
  364.             ModeOptions  0;                         /* Planes, SimPlanes */
  365.             ColorPalette   NULL;                    /* Color palette        */
  366.             InitGraphStr   NULL;                    /* InitGraphStr */
  367.             EndGraphStr    NULL;                    /* EndGraphStr  */
  368.             PicWidth
  369.             InitTransfer <CR, _Esc,'K'>,NULL
  370.             PinsPerHead    8
  371.             PixelsStep     1
  372.             EolnStr   NULL;                         /* EolnStr          */
  373.             SmallEoln  <_Esc,04Ah>,NULL,3,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  374.  
  375.             ModeDef  120,72,8;                      /* X and Y densities, ColorsNo */
  376.             ModeOptions  0;                         /* Planes, SimPlanes */ /* ?????????????????????????????? */
  377.             ColorPalette       NULL;                /* Color palette        */
  378.             InitGraphStr   NULL;                    /* InitGraphStr */
  379.             EndGraphStr    NULL;                    /* EndGraphStr  */
  380.             PicWidth
  381.             InitTransfer <CR, _Esc,'L'>,NULL
  382.             PinsPerHead    8
  383.             PixelsStep     1
  384.             EolnStr   NULL;                         /* EolnStr          */
  385.             SmallEoln  <_Esc,04Ah>,NULL,3,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  386.  
  387.             ModeDef  120,216,8;                     /* X and Y densities */
  388.             ModeOptions  0;                         /* Planes, SimPlanes */
  389.             ColorPalette       NULL;                /* Color palette        */
  390.             InitGraphStr   NULL;                    /* InitGraphStr */
  391.             EndGraphStr    NULL;                    /* EndGraphStr  */
  392.             PicWidth
  393.             InitTransfer <CR, _Esc,'L'>,NULL
  394.             PinsPerHead    8
  395.             PixelsStep     3
  396.             EolnStr   NULL;                         /* EolnStr          */
  397.             SmallEoln  <_Esc,04Ah>,NULL,1,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  398.  
  399.             ModeDef  240,216,8;                     /* X and Y densities, ColorsNo */
  400.             ModeOptions  0;                         /* Planes, SimPlanes */
  401.             ColorPalette       NULL;                /* Color palette        */
  402.             InitGraphStr   NULL;                    /* InitGraphStr */
  403.             EndGraphStr    NULL;                    /* EndGraphStr  */
  404.             PicWidth
  405.             InitTransfer <CR, _Esc,'Z'>,NULL
  406.             PinsPerHead    8
  407.             PixelsStep     3
  408.             EolnStr   NULL;                         /* EolnStr          */
  409.             SmallEoln  <_Esc,04Ah>,NULL,1,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  410.             EndDriverDef   ; <----------------------------
  411.  
  412.          else
  413.  
  414.             ;/*===============================*/
  415.             ;/* 9 pins : IBM, EPSON color */
  416.             ;/*===============================*/
  417.             ;/* the same as previous but with Planes and SimPlanes bits on */
  418.             ;/* This introduces some optimalization in changing ribbon  */
  419.             ;/* current color but it assumes that any composed color */
  420.             ;/* can be build from colors c1 and c2 which are  */
  421.             ;/* power of 2. E.G. color orange(0x5) is composed */
  422.             ;/* of yellow(4) and red(1).                      */
  423.             ;/* It may not work for more than 7 colors available. */
  424.             DriverDef
  425.             ;         4,                            /* ModesNo  */
  426.             CompressionType 0
  427.             DriverName       <'9 pins(color): IBM, EPSON'>
  428.             InitPRTStr      <_Esc,'U1'>;             /* Init PRT string */
  429.             EndPRTStr       NULL;                   /* End PRT string */
  430.             CompressedStr   NULL;                   /* CompressedStr  */
  431.             UncompressedStr NULL;                   /* UncompressedStr  */
  432.             LeftMargin     <_Esc,'l'>,NULL,1,100;      /* LeftMarginStr1,LeftMarginStr2,LeftMarginDiv */
  433.             TopMargin      <_Esc,'c'>,NULL,1,166;      /* TopMarginStr1,TopMarginStr2,TopMarginDiv */
  434.             ColorsStrings  <_Esc,'r'>,NULL, NULL;    /* ColorStr1,ColorStr2, ColorsMap */
  435.             Options        0
  436.  
  437.             ModeDef  60,72,8;                       /* X and Y densities, ColorsNo */
  438.             ModeOptions  SimPlanes;                 /* Planes, SimPlanes */
  439.             ColorPalette       NULL;                /* Color palette        */
  440.             InitGraphStr   NULL;                    /* InitGraphStr */
  441.             EndGraphStr    NULL;                    /* EndGraphStr  */
  442.             PicWidth
  443.             InitTransfer <CR, _Esc,'K'>,NULL
  444.             PinsPerHead    8
  445.             PixelsStep     1
  446.             EolnStr   NULL;                         /* EolnStr          */
  447.             SmallEoln  <_Esc,04Ah>,NULL,3,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  448.  
  449.             ModeDef  120,72,8;                      /* X and Y densities, ColorsNo */
  450.             ModeOptions  SimPlanes;                 /* Planes, SimPlanes */ /* ?????????????????????????????? */
  451.             ColorPalette       NULL;                /* Color palette        */
  452.             InitGraphStr   NULL;                    /* InitGraphStr */
  453.             EndGraphStr    NULL;                    /* EndGraphStr  */
  454.             PicWidth
  455.             InitTransfer <CR, _Esc,'L'>,NULL
  456.             PinsPerHead    8
  457.             PixelsStep     1
  458.             EolnStr   NULL;                         /* EolnStr          */
  459.             SmallEoln  <_Esc,04Ah>,NULL,3,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  460.  
  461.             ModeDef  120,216,8;                     /* X and Y densities, ColorsNo */
  462.             ModeOptions  SimPlanes;                 /* Planes, SimPlanes */
  463.             ColorPalette       NULL;                /* Color palette        */
  464.             InitGraphStr   NULL;                    /* InitGraphStr */
  465.             EndGraphStr    NULL;                    /* EndGraphStr  */
  466.             PicWidth
  467.             InitTransfer <CR, _Esc,'L'>,NULL
  468.             PinsPerHead    8
  469.             PixelsStep     3
  470.             EolnStr   NULL;                         /* EolnStr          */
  471.             SmallEoln  <_Esc,04Ah>,NULL,1,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  472.  
  473.             ModeDef  240,216,8;                     /* X and Y densities, ColorsNo */
  474.             ModeOptions  SimPlanes;                 /* Planes, SimPlanes */
  475.             ColorPalette       NULL;                /* Color palette        */
  476.             InitGraphStr   NULL;                    /* InitGraphStr */
  477.             EndGraphStr    NULL;                    /* EndGraphStr  */
  478.             PicWidth
  479.             InitTransfer <CR, _Esc,'Z'>,NULL
  480.             PinsPerHead    8
  481.             PixelsStep     3
  482.             EolnStr   NULL;                         /* EolnStr          */
  483.             SmallEoln  <_Esc,04Ah>,NULL,1,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  484.             EndDriverDef   ; <----------------------------
  485.          endif
  486.  
  487.  
  488.             ;/*===============================*/
  489.             ;/* 9 pins : Epson II color */
  490.             ;/*===============================*/
  491.             ;/* graphic mode: Esc '*' n */
  492.             ;/*
  493.             DriverDef
  494.             ;         4,                            /* ModesNo  */
  495.             CompressionType 0
  496.             DriverName       <'9 pins(color): Epson'>
  497.             InitPRTStr      <_Esc,'U1'>;             /* Init PRT string */
  498.             EndPRTStr       NULL;                   /* End PRT string */
  499.             CompressedStr   NULL;                   /* CompressedStr  */
  500.             UncompressedStr NULL;                   /* UncompressedStr  */
  501.             LeftMargin     <_Esc,'l'>,NULL,1,100;      /* LeftMarginStr1,LeftMarginStr2,LeftMarginDiv */
  502.             TopMargin      <_Esc,'c'>,NULL,1,166;      /* TopMarginStr1,TopMarginStr2,TopMarginDiv */
  503.             ColorsStrings  <_Esc,'r'>,NULL, NULL;    /* ColorStr1,ColorStr2, ColorsMap */
  504.             Options        0
  505.  
  506.             ModeDef  60,72,8;                       /* X and Y densities, ColorsNo */
  507.             ModeOptions  SimPlanes;                 /* Planes, SimPlanes */
  508.             ColorPalette       NULL;                /* Color palette        */
  509.             InitGraphStr   NULL;                    /* InitGraphStr */
  510.             EndGraphStr    NULL;                    /* EndGraphStr  */
  511.             PicWidth
  512.             InitTransfer <CR, _Esc,'*',0>,NULL
  513.             PinsPerHead    8
  514.             PixelsStep     1
  515.             EolnStr   NULL;                         /* EolnStr          */
  516.             SmallEoln  <_Esc,04Ah>,NULL,3,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  517.  
  518.             ModeDef  120,72,8;                      /* X and Y densities, ColorsNo */
  519.             ModeOptions  SimPlanes;                 /* Planes, SimPlanes */ /* ?????????????????????????????? */
  520.             ColorPalette       NULL;                /* Color palette        */
  521.             InitGraphStr   NULL;                    /* InitGraphStr */
  522.             EndGraphStr    NULL;                    /* EndGraphStr  */
  523.             PicWidth
  524.             InitTransfer <CR, _Esc,'*',1>,NULL
  525.             PinsPerHead    8
  526.             PixelsStep     1
  527.             EolnStr   NULL;                         /* EolnStr          */
  528.             SmallEoln  <_Esc,04Ah>,NULL,3,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  529.  
  530.             ModeDef  120,216,8;                     /* X and Y densities, ColorsNo */
  531.             ModeOptions  SimPlanes;                 /* Planes, SimPlanes */
  532.             ColorPalette       NULL;                /* Color palette        */
  533.             InitGraphStr   NULL;                    /* InitGraphStr */
  534.             EndGraphStr    NULL;                    /* EndGraphStr  */
  535.             PicWidth
  536.             InitTransfer <CR, _Esc,'*',1>,NULL
  537.             PinsPerHead    8
  538.             PixelsStep     3
  539.             EolnStr   NULL;                         /* EolnStr          */
  540.             SmallEoln  <_Esc,04Ah>,NULL,1,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  541.  
  542.             ModeDef  240,216,8;                     /* X and Y densities, ColorsNo */
  543.             ModeOptions  SimPlanes;                 /* Planes, SimPlanes */
  544.             ColorPalette       NULL;                /* Color palette        */
  545.             InitGraphStr   NULL;                    /* InitGraphStr */
  546.             EndGraphStr    NULL;                    /* EndGraphStr  */
  547.             PicWidth
  548.             InitTransfer <CR, _Esc,'*',3>,NULL
  549.             PinsPerHead    8
  550.             PixelsStep     3
  551.             EolnStr   NULL;                         /* EolnStr          */
  552.             SmallEoln  <_Esc,04Ah>,NULL,1,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  553.             EndDriverDef   ; <----------------------------
  554.  
  555.  
  556.          ;/*===============================*/
  557.          ;/* Epson LQ 1000                 */
  558.          ;/*===============================*/
  559.  
  560.          DriverDef
  561.          ;         5,                            /* ModesNo  */
  562.          CompressionType 0
  563.          DriverName       <'24 pins: Epson LQ1000'>
  564.          InitPRTStr      NULL;                   /* Init PRT string */
  565.          EndPRTStr       NULL;                   /* End PRT string */
  566.          CompressedStr   NULL;                   /* CompressedStr  */
  567.          UncompressedStr NULL;                   /* UncompressedStr  */
  568.          LeftMargin     <_Esc,'l'>,NULL,1,100;      /* LeftMarginStr1,LeftMarginStr2,LeftMarginDiv */
  569.          TopMargin      <_Esc,'r'>,NULL,1,166;      /* TopMarginStr1,TopMarginStr2,TopMarginDiv ??????????????? ?????????? */
  570.          ColorsStrings  NULL,NULL, NULL;         /* ColorStr1,ColorStr2, ColorsMap */
  571.          Options        0
  572.  
  573.          ModeDef  60,180,2;                      /* X and Y densities, ColorsNo */
  574.          ModeOptions  0;                         /* Planes, SimPlanes */
  575.          ColorPalette       NULL;                /* Color palette        */
  576.          InitGraphStr   NULL;                    /* InitGraphStr */
  577.          EndGraphStr    NULL;                    /* EndGraphStr  */
  578.          PicWidth
  579.          InitTransfer <CR, _Esc,'*',20h>,NULL
  580.          PinsPerHead    24
  581.          PixelsStep     1
  582.          EolnStr   NULL;                         /* EolnStr          */
  583.          SmallEoln  <_Esc,'J'>,NULL,1,1;          /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  584.  
  585.          ModeDef  120,180,2;                     /* X and Y densities, ColorsNo */
  586.          ModeOptions  0;                         /* Planes, SimPlanes */
  587.          ColorPalette       NULL;                /* Color palette        */
  588.          InitGraphStr   NULL;                    /* InitGraphStr */
  589.          EndGraphStr    NULL;                    /* EndGraphStr  */
  590.          PicWidth
  591.          InitTransfer <CR, _Esc,'*',21h>,NULL
  592.          PinsPerHead    24
  593.          PixelsStep     1
  594.          EolnStr   NULL;                         /* EolnStr          */
  595.          SmallEoln  <_Esc,'J'>,NULL,1,1;          /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  596.  
  597.          ModeDef  180,180,2;                     /* X and Y densities, ColorsNo */
  598.          ModeOptions  0;                         /* Planes, SimPlanes */
  599.          ColorPalette       NULL;                /* Color palette        */
  600.          InitGraphStr   NULL;                    /* InitGraphStr */
  601.          EndGraphStr    NULL;                    /* EndGraphStr  */
  602.          PicWidth
  603.          InitTransfer <CR, _Esc,'*',27h>,NULL
  604.          PinsPerHead    24
  605.          PixelsStep     1
  606.          EolnStr   NULL;                         /* EolnStr          */
  607.          SmallEoln  <_Esc,'J'>,NULL,1,1;          /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  608.  
  609.          ModeDef  360,180,2;                     /* X and Y densities, ColorsNo */
  610.          ModeOptions  0;                         /* Planes, SimPlanes */
  611.          ColorPalette       NULL;                /* Color palette        */
  612.          InitGraphStr   NULL;                    /* InitGraphStr */
  613.          EndGraphStr    NULL;                    /* EndGraphStr  */
  614.          PicWidth
  615.          InitTransfer <CR, _Esc,'*',28h>,NULL
  616.          PinsPerHead    24
  617.          PixelsStep     1
  618.          EolnStr   NULL;                         /* EolnStr          */
  619.          SmallEoln  <_Esc,'J'>,NULL,1,1;          /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  620.  
  621.          ModeDef  360,360,2;                     /* X and Y densities, ColorsNo */
  622.          ModeOptions  0;                         /* Planes, SimPlanes */
  623.          ColorPalette       NULL;                /* Color palette        */
  624.          InitGraphStr   NULL                    /* InitGraphStr */
  625.          EndGraphStr    <_Esc,'@'>;               /* EndGraphStr  */
  626.          PicWidth
  627.          InitTransfer <CR, _Esc,'*',28h>,NULL
  628.          PinsPerHead    24
  629.          PixelsStep     2
  630.          EolnStr   NULL;                         /* EolnStr          */
  631.          SmallEoln  <_Esc,'+'>,NL,1,1;            /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  632.          EndDriverDef   ; <----------------------------
  633.  
  634.          ;/*===============================*/
  635.          ;/*   IBM Pro X24                 */
  636.          ;/*===============================*/
  637.          DriverDef
  638.          ;         5,                            /* ModesNo  */
  639.        CompressionType 0
  640.          DriverName       <'24 pins: IBM Pro X24'>
  641.          InitPRTStr      NULL;                   /* Init PRT string */
  642.          EndPRTStr       NULL;                   /* End PRT string */
  643.          CompressedStr   NULL;                   /* CompressedStr  */
  644.          UncompressedStr NULL;                   /* UncompressedStr  */
  645.          LeftMargin     <_Esc,'l'>,NULL,1,100;      /* LeftMarginStr1,LeftMarginStr2,LeftMarginDiv */
  646.        TopMargin      <_Esc,'r'>,NULL,1,166;      /* TopMarginStr1,TopMarginStr2,TopMarginDiv ???????????? */
  647.        ColorsStrings  NULL,NULL, NULL;         /* ColorStr1,ColorStr2, ColorsMap */
  648.        Options        TransferValueInBytes
  649.  
  650.        ModeDef  60,180,2;                      /* X and Y densities, ColorsNo */
  651.          ModeOptions  0;                         /* Planes, SimPlanes */
  652.          ColorPalette       NULL;                /* Color palette        */
  653.          InitGraphStr   NULL;                    /* InitGraphStr */
  654.          EndGraphStr    NULL;                    /* EndGraphStr  */
  655.          PicWidth
  656.          InitTransfer <CR, _Esc,'[g'>,<8>,-1
  657.            PinsPerHead    24
  658.          PixelsStep     1
  659.          EolnStr   NULL;                         /* EolnStr          */
  660.          SmallEoln  <_Esc,'J'>,NULL,29,24;        /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  661.  
  662.        ModeDef  120,180,2;                     /* X and Y densities, ColorsNo */
  663.          ModeOptions  0;                         /* Planes, SimPlanes */
  664.          ColorPalette       NULL;                /* Color palette        */
  665.          InitGraphStr   NULL;                    /* InitGraphStr */
  666.            EndGraphStr    NULL;                    /* EndGraphStr  */
  667.          PicWidth
  668.          InitTransfer <CR, _Esc,'[g'>,<9>,-1
  669.          PinsPerHead    24
  670.          PixelsStep     1
  671.          EolnStr   NULL;                         /* EolnStr          */
  672.          SmallEoln  <_Esc,'J'>,NULL,29,24;        /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  673.  
  674.        ModeDef  180,180,2;                     /* X and Y densities, ColorsNo */
  675.          ModeOptions  0;                         /* Planes, SimPlanes */
  676.          ColorPalette       NULL;                /* Color palette        */
  677.            InitGraphStr   NULL;                    /* InitGraphStr */
  678.          EndGraphStr    NULL;                    /* EndGraphStr  */
  679.          PicWidth
  680.          InitTransfer <CR, _Esc,'[g'>,<11>,-1
  681.          PinsPerHead    24
  682.          PixelsStep     1
  683.          EolnStr   NULL;                         /* EolnStr          */
  684.          SmallEoln  <_Esc,'J'>,NULL,29,24;        /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  685.  
  686.          ModeDef  360,180,2;                     /* X and Y densities, ColorsNo */
  687.          ModeOptions  0;                         /* Planes, SimPlanes */
  688.          ColorPalette       NULL;                /* Color palette        */
  689.          InitGraphStr   NULL;                    /* InitGraphStr */
  690.          EndGraphStr    NULL;                    /* EndGraphStr  */
  691.          PicWidth
  692.          InitTransfer <CR, _Esc,'[g'>,<12>,-1
  693.          PinsPerHead    24
  694.          PixelsStep     1
  695.          EolnStr   NULL;                         /* EolnStr          */
  696.          SmallEoln  <_Esc,'J'>,NULL,29,24;        /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  697.  
  698.       ModeDef  360,360,2;                     /* X and Y densities, ColorsNo */
  699.          ModeOptions  0;                         /* Planes, SimPlanes */
  700.          ColorPalette       NULL;                /* Color palette        */
  701.          InitGraphStr   NULL;                    /* InitGraphStr */
  702.          EndGraphStr    <_Esc,'@'>;               /* EndGraphStr  */
  703.          PicWidth
  704.          InitTransfer <CR, _Esc,'[g'>,<12>,-1
  705.          PinsPerHead    24
  706.            PixelsStep     2
  707.          EolnStr   NULL;                         /* EolnStr          */
  708.            SmallEoln  <_FS,'3'>,NL,1,1;            /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  709.          EndDriverDef   ; <----------------------------
  710.  
  711.          ;/*===============================*/
  712.          ;/* EPSON LQ860                   */
  713.          ;/*===============================*/
  714.          DriverDef
  715.          ;         5,                            /* ModesNo  */
  716.          CompressionType 0
  717.            DriverName       <'24 pins(color): EPSON LQ860'>
  718.          InitPRTStr      <_Esc,'U1'>;             /* Init PRT string */
  719.          EndPRTStr       NULL;                   /* End PRT string */
  720.          CompressedStr   NULL;                   /* CompressedStr  */
  721.          UncompressedStr NULL;                   /* UncompressedStr  */
  722.          LeftMargin     <_Esc,'l'>,NULL,1,100;      /* LeftMarginStr1,LeftMarginStr2,LeftMarginDiv */
  723.          TopMargin      NULL,NULL,1,1;             /* TopMarginStr1,TopMarginStr2,TopMarginDiv ???????????????? */
  724.            ColorsStrings  <_Esc,'r'>,NULL, NULL;    /* ColorStr1,ColorStr2, ColorsMap */
  725.          Options        0
  726.  
  727.          ModeDef  60,180,8;                      /* X and Y densities, ColorsNo */
  728.          ModeOptions  SimPlanes;                 /* Planes, SimPlanes */
  729.          ColorPalette       NULL;                /* Color palette        */
  730.          InitGraphStr   NULL;                    /* InitGraphStr */
  731.          EndGraphStr    NULL;                    /* EndGraphStr  */
  732.          PicWidth
  733.          InitTransfer <CR, _Esc,'*',20h>,NULL
  734.          PinsPerHead    24
  735.          PixelsStep     1
  736.            EolnStr   NULL;                         /* EolnStr          */
  737.          SmallEoln  <_Esc,'J'>,NULL,1,1;          /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  738.  
  739.          ModeDef  120,180,8;                     /* X and Y densities, ColorsNo */
  740.          ModeOptions  SimPlanes;                 /* Planes, SimPlanes */
  741.          ColorPalette       NULL;                /* Color palette        */
  742.          InitGraphStr   NULL;                    /* InitGraphStr */
  743.          EndGraphStr    NULL;                    /* EndGraphStr  */
  744.          PicWidth
  745.            InitTransfer <CR, _Esc,'*',21h>,NULL
  746.          PinsPerHead    24
  747.          PixelsStep     1
  748.          EolnStr   NULL;                         /* EolnStr          */
  749.          SmallEoln  <_Esc,'J'>,NULL,1,1;          /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  750.  
  751.          ModeDef  180,180,8;                     /* X and Y densities,, ColorsNo */
  752.          ModeOptions  SimPlanes;                 /* Planes, SimPlanes */
  753.          ColorPalette       NULL;                /* Color palette        */
  754.          InitGraphStr   NULL;                    /* InitGraphStr */
  755.          EndGraphStr    NULL;                    /* EndGraphStr  */
  756.            PicWidth
  757.          InitTransfer <CR, _Esc,'*',27h>,NULL
  758.          PinsPerHead    24
  759.          PixelsStep     1
  760.          EolnStr   NULL;                         /* EolnStr          */
  761.          SmallEoln  <_Esc,'J'>,NULL,1,1;          /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  762.  
  763.          ModeDef  360,180,8;                     /* X and Y densities, ColorsNo */
  764.          ModeOptions  SimPlanes;                 /* Planes, SimPlanes */
  765.            ColorPalette       NULL;                /* Color palette        */
  766.          InitGraphStr   NULL;                    /* InitGraphStr */
  767.          EndGraphStr    NULL;                    /* EndGraphStr  */
  768.          PicWidth
  769.          InitTransfer <CR, _Esc,'*',28h>,NULL
  770.          PinsPerHead    24
  771.          PixelsStep     1
  772.          EolnStr   NULL;                         /* EolnStr          */
  773.          SmallEoln  <_Esc,'J'>,NULL,1,1;          /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  774.  
  775.          ModeDef  360,360,8;                     /* X and Y densities, ColorsNo */
  776.            ModeOptions  SimPlanes;                 /* Planes, SimPlanes */
  777.          ColorPalette       NULL;                /* Color palette        */
  778.          InitGraphStr   NULL;                    /* InitGraphStr */
  779.          EndGraphStr    <_Esc,'@'>;               /* EndGraphStr  */
  780.          PicWidth
  781.          InitTransfer <CR, _Esc,'*',28h>,NULL
  782.          PinsPerHead    24
  783.          PixelsStep     2
  784.          EolnStr        NULL;                    /* EolnStr          */
  785.            SmallEoln  <_Esc,'+'>,NL,1,1;            /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  786.          EndDriverDef   ; <----------------------------
  787.  
  788.          ;/*===============================*/
  789.          ;/* 24 pin IBM Pro X24 (color)    */
  790.          ;/*===============================*/
  791.          DriverDef
  792.          ;         5,                            /* ModesNo  */
  793.          CompressionType 0
  794.          DriverName       <'24 pins(color): IBM Pro X24'>
  795.          InitPRTStr      <_Esc,'U1'>;             /* Init PRT string */
  796.          EndPRTStr       NULL;                   /* End PRT string */
  797.          CompressedStr   NULL;                   /* CompressedStr  */
  798.          UncompressedStr NULL;                   /* UncompressedStr  */
  799.          LeftMargin     <_Esc,'l'>,NULL,1,100;      /* LeftMarginStr1,LeftMarginStr2,LeftMarginDiv */
  800.          TopMargin      NULL,NULL,1,1;             /* TopMarginStr1,TopMarginStr2,TopMarginDiv ???????????? */
  801.          ColorsStrings  <_Esc,'r'>,NULL, NULL;    /* ColorStr1,ColorStr2, ColorsMap */
  802.          Options        TransferValueInBytes
  803.  
  804.          ModeDef  60,180,8;                      /* X and Y densities, ColorsNo */
  805.          ModeOptions  SimPlanes;                 /* Planes, SimPlanes */
  806.          ColorPalette       NULL;                /* Color palette        */
  807.          InitGraphStr   NULL;          ;// "\x01b[\\""\x04" "\x00""\x00""\x00""\x00""\x0B4",
  808.          EndGraphStr    NULL;          ;// "\x01b[\\""\x04" "\x00""\x00""\x00""\x00""\x0D8",
  809.          PicWidth
  810.          InitTransfer <CR, _Esc,'[g'>,<8>,-1
  811.          PinsPerHead    24
  812.          PixelsStep     1
  813.          EolnStr        NULL;                    /* EolnStr          */
  814.          SmallEoln  <_Esc,'J'>,NULL,29,24;        /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  815.  
  816.          ModeDef  120,180,8;                     /* X and Y densities, ColorsNo */
  817.          ModeOptions  SimPlanes;                 /* Planes, SimPlanes */
  818.          ColorPalette       NULL;                /* Color palette        */
  819.          InitGraphStr   NULL;          ;// "\x01b[\\""\x04" "\x00""\x00""\x00""\x00""\x0B4",
  820.          EndGraphStr    NULL;          ;// "\x01b[\\""\x04" "\x00""\x00""\x00""\x00""\x0D8",
  821.          PicWidth
  822.          InitTransfer <CR, _Esc,'[g'>,<9>,-1
  823.          PinsPerHead    24
  824.          PixelsStep     1
  825.          EolnStr        NULL;                    /* EolnStr          */
  826.          SmallEoln  <_Esc,'J'>,NULL,29,24;        /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  827.  
  828.          ModeDef  180,180,8;                     /* X and Y densities, ColorsNo */
  829.          ModeOptions  SimPlanes;                 /* Planes, SimPlanes */
  830.          ColorPalette       NULL;                /* Color palette        */
  831.          InitGraphStr   NULL;          ;// "\x01b[\\""\x04" "\x00""\x00""\x00""\x00""\x0B4",
  832.          EndGraphStr    NULL;          ;// "\x01b[\\""\x04" "\x00""\x00""\x00""\x00""\x0D8",
  833.          PicWidth
  834.          InitTransfer <CR, _Esc,'[g'>,<11>,-1
  835.            PinsPerHead    24
  836.          PixelsStep     1
  837.          EolnStr        NULL;                    /* EolnStr          */
  838.          SmallEoln  <_Esc,'J'>,NULL,29,24;        /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  839.  
  840.          ModeDef  360,180,8;                     /* X and Y densities, ColorsNo */
  841.          ModeOptions  SimPlanes;                 /* Planes, SimPlanes */
  842.          ColorPalette       NULL;                /* Color palette        */
  843.          InitGraphStr   NULL;          ;// "\x01b[\\""\x04" "\x00""\x00""\x00""\x00""\x0B4",
  844.          EndGraphStr    NULL;          ;// "\x01b[\\""\x04" "\x00""\x00""\x00""\x00""\x0D8",
  845.          PicWidth
  846.          InitTransfer <CR, _Esc,'[g'>,<12>,-1
  847.          PinsPerHead    24
  848.          PixelsStep     1
  849.          EolnStr        NULL;                    /* EolnStr          */
  850.          SmallEoln  <_Esc,'J'>,NULL,29,24;        /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  851.  
  852.          ModeDef  360,360,8;                     /* X and Y densities, ColorsNo */
  853.          ModeOptions  SimPlanes;                 /* Planes, SimPlanes */
  854.          ColorPalette       NULL;                /* Color palette        */
  855.            InitGraphStr   NULL;                    /* InitGraphStr */
  856.          EndGraphStr    <_Esc,'@'>;               /* EndGraphStr  */
  857.          PicWidth
  858.          InitTransfer <CR, _Esc,'[g'>,<12>,-1
  859.          PinsPerHead    24
  860.          PixelsStep     2
  861.          EolnStr        NULL;                    /* EolnStr          */
  862.          SmallEoln  <_FS,'3'>,NL,1,1;            /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  863.          EndDriverDef   ; <----------------------------
  864.  
  865.             ;/* PaintJet */
  866.             ;/*    without Run Length Encoding compression     */
  867.             ;/*===============================*/
  868.             ;/* general PaintJet       */
  869.             ;/*===============================*/
  870.             DriverDef
  871.             ;         3,                            /* ModesNo  */
  872.             CompressionType 0
  873.             DriverName       <'PaintJet'>
  874.             InitPRTStr      <_Esc,'9', _Esc,'&s1C',_Esc,'*b0M'>;  /* Init PRT string */
  875.             EndPRTStr       <_Esc,'*r0B'>;                   /* End PRT string */
  876.             CompressedStr   NULL;                   /* CompressedStr  */
  877.             UncompressedStr NULL;                   /* UncompressedStr  */
  878.             LeftMargin     <_Esc,'&a'>,<'H'>,1,1;      /* LeftMarginStr1,LeftMarginStr2,LeftMarginDiv */
  879.             TopMargin      <_Esc,'&l'>,<'E'>,1,166;    /* TopMarginStr1,TopMarginStr2,TopMarginDiv ???????????? */
  880.             ColorsStrings  NULL,NULL, NULL;         /* ColorStr1,ColorStr2, ColorsMap */
  881.             Options        ASCIInumbers+TransferValueInBytes
  882.  
  883.             ModeDef  90,90,2;                       /* X and Y densities, ColorsNo */
  884.             ModeOptions  0;                         /* Planes, SimPlanes */
  885.             ColorPalette       NULL;                /* Color palette        */
  886.             InitGraphStr   <_Esc,'*t90R', _Esc,'*r1U', _Esc,'*r1A' >;
  887.             EndGraphStr    NULL;
  888.             PicWidth       <_Esc,'*r'>,<'S'>,1,1
  889.             InitTransfer <_Esc,'*b'>,<'W'>
  890.             PinsPerHead    1
  891.             PixelsStep     1
  892.             EolnStr        NULL;                    /* EolnStr          */
  893.             SmallEoln      NULL,NULL,1,1;           /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  894.  
  895.             ModeDef  180,180,2;                     /* X and Y densities, ColorsNo */
  896.             ModeOptions  0;                         /* Planes, SimPlanes */
  897.             ColorPalette       NULL;                /* Color palette        */
  898.             InitGraphStr   <_Esc,'*t180R', _Esc,'*r1U', _Esc,'*r1A'>;
  899.             EndGraphStr    NULL;
  900.             PicWidth       <_Esc,'*r'>,<'S'>,1,1
  901.             InitTransfer <_Esc,'*b'>,<'W'>
  902.             PinsPerHead    1
  903.             PixelsStep     1
  904.             EolnStr        NULL;                    /* EolnStr          */
  905.             SmallEoln      NULL,NULL,1,1;           /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  906.  
  907.             ModeDef  90,90,16;                      /* X and Y densities, ColorsNo */
  908.             ModeOptions  Planes;                    /* Planes, SimPlanes */
  909.             ColorPalette       NULL;                /* Color palette        */
  910.             InitGraphStr   <_Esc,'*t90R', _Esc,'*r4U', _Esc,'*r1A' >;
  911.             EndGraphStr    NULL;
  912.             PicWidth       <_Esc,'*r'>,<'S'>,1,1
  913.             InitTransfer <_Esc,'*b'>,<'V'>
  914.             PinsPerHead    1
  915.             PixelsStep     1
  916.             EolnStr        <_Esc,'*b0W'>;            /* EolnStr          */
  917.             SmallEoln      NULL,NULL,1,1;           /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  918.  
  919.             ModeDef  180,180,8;                     /* X and Y densities, ColorsNo */
  920.             ModeOptions  Planes;                    /* Planes, SimPlanes */
  921.             ColorPalette       NULL;                /* Color palette        */
  922.             InitGraphStr   <_Esc,'*t180R', _Esc,'*r3U', _Esc,'*r1A'>;
  923.             EndGraphStr    NULL;
  924.             PicWidth       <_Esc,'*r'>,<'S'>,1,1
  925.             InitTransfer <_Esc,'*b'>,<'V'>
  926.             PinsPerHead    1
  927.             PixelsStep     1
  928.             EolnStr        <_Esc,'*b0W'>;            /* EolnStr          */
  929.             SmallEoln      NULL,NULL,1,1;           /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  930.             EndDriverDef   ; <----------------------------
  931.  
  932.  
  933.             ;/*===============================*/
  934.             ;/* Hewlet Packard PaintJet       */
  935.             ;/*===============================*/
  936.             DriverDef
  937.             ;         4,                            /* ModesNo  */
  938.             CompressionType RLE_COMPRESSION
  939.             DriverName       <'HP PaintJet'>
  940.             InitPRTStr      <_Esc,'9', _Esc,'&s1C'>;  /* Init PRT string */
  941.             EndPRTStr       <_Esc,'*r0B'>;           /* End PRT string */
  942.             CompressedStr   <_Esc,'*b1M'>;           /* CompressedStr  */
  943.             UncompressedStr <_Esc,'*b0M'>;           /* UncompressedStr  */
  944.             LeftMargin     <_Esc,'&a'>,<'H'>,1,1;      /* LeftMarginStr1,LeftMarginStr2,LeftMarginDiv */
  945.             TopMargin      <_Esc,'&l'>,<'E'>,1,166;    /* TopMarginStr1,TopMarginStr2,TopMarginDiv ???????????? */
  946.             ColorsStrings  NULL,NULL, NULL;         /* ColorStr1,ColorStr2, ColorsMap */
  947.             Options        ASCIInumbers+TransferValueInBytes
  948.  
  949.             ModeDef  90,90,2;                       /* X and Y densities, ColorsNo */
  950.             ModeOptions  0;                         /* Planes, SimPlanes */
  951.             ColorPalette       NULL;                /* Color palette        */
  952.             InitGraphStr   <_Esc,'*t90R', _Esc,'*r1U', _Esc,'*r1A'>;
  953.             EndGraphStr    NULL;
  954.             PicWidth       <_Esc,'*r'>,<'S'>,1,1
  955.             InitTransfer <_Esc,'*b'>,<'W'>
  956.             PinsPerHead    1
  957.             PixelsStep     1
  958.             EolnStr        NULL;                    /* EolnStr          */
  959.             SmallEoln      NULL,NULL,1,1;           /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  960.  
  961.             ModeDef  180,180,2;                     /* X and Y densities, ColorsNo */
  962.             ModeOptions  0;                         /* Planes, SimPlanes */
  963.             ColorPalette       NULL;                /* Color palette        */
  964.             InitGraphStr   <_Esc,'*t180R', _Esc,'*r1U', _Esc,'*r1A'>;
  965.             EndGraphStr    NULL;
  966.             PicWidth       <_Esc,'*r'>,<'S'>,1,1
  967.             InitTransfer <_Esc,'*b'>,<'W'>
  968.             PinsPerHead    1
  969.             PixelsStep     1
  970.             EolnStr        NULL;                    /* EolnStr          */
  971.             SmallEoln      NULL,NULL,1,1;           /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  972.  
  973.             ModeDef  90,90,16;                      /* X and Y densities, ColorsNo */
  974.             ModeOptions  Planes;                    /* Planes, SimPlanes */
  975.             ColorPalette       NULL;                /* Color palette        */
  976.             InitGraphStr   <_Esc,'*t90R', _Esc,'*r4U', _Esc,'*r1A'>;
  977.             COMMENT \\
  978.                following commands should set Paintjet palette as close
  979.                to VGA one as possible.
  980.                  <_Esc,'*v90A', _Esc,'*v88B', _Esc,'*v85C', _Esc,'*v00I' >;
  981.                  <_Esc,'*v04A', _Esc,'*v04B', _Esc,'*v29C', _Esc,'*v01I' >;
  982.                  <_Esc,'*v03A', _Esc,'*v26B', _Esc,'*v22C', _Esc,'*v02I' >;
  983.                  <_Esc,'*v02A', _Esc,'*v22B', _Esc,'*v64C', _Esc,'*v03I' >;
  984.                  <_Esc,'*v53A', _Esc,'*v08B', _Esc,'*v14C', _Esc,'*v04I' >;
  985.                  <_Esc,'*v53A', _Esc,'*v05B', _Esc,'*v25C', _Esc,'*v05I' >;
  986.                  <_Esc,'*v12A', _Esc,'*v08B', _Esc,'*v10C', _Esc,'*v06I' >;
  987.                  <_Esc,'*v43A', _Esc,'*v43B', _Esc,'*v45C', _Esc,'*v07I' >;
  988.                  <_Esc,'*v15A', _Esc,'*v16B', _Esc,'*v18C', _Esc,'*v08I' >;
  989.                  <_Esc,'*v03A', _Esc,'*v10B', _Esc,'*v46C', _Esc,'*v09I' >;
  990.                  <_Esc,'*v29A', _Esc,'*v57B', _Esc,'*v28C', _Esc,'*v10I' >;
  991.                  <_Esc,'*v38A', _Esc,'*v58B', _Esc,'*v78C', _Esc,'*v11I' >;
  992.                  <_Esc,'*v62A', _Esc,'*v18B', _Esc,'*v18C', _Esc,'*v12I' >;
  993.                  <_Esc,'*v76A', _Esc,'*v45B', _Esc,'*v62C', _Esc,'*v13I' >;
  994.                  <_Esc,'*v89A', _Esc,'*v83B', _Esc,'*v13C', _Esc,'*v14I' >;
  995.                  <_Esc,'*v04A', _Esc,'*v04B', _Esc,'*v06C', _Esc,'*v15I' >;
  996.            \\
  997.  
  998.             EndGraphStr    NULL;
  999.             PicWidth       <_Esc,'*r'>,<'S'>,1,1
  1000.             InitTransfer <_Esc,'*b'>,<'V'>
  1001.             PinsPerHead    1
  1002.             PixelsStep     1
  1003.             EolnStr        <_Esc,'*b0W'>;            /* EolnStr          */
  1004.             SmallEoln      NULL,NULL,1,1;           /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  1005.  
  1006.             ModeDef  180,180,8;                     /* X and Y densities, ColorsNo */
  1007.             ModeOptions  Planes;                    /* Planes, SimPlanes */
  1008.             ColorPalette       NULL;                /* Color palette        */
  1009.             InitGraphStr   <_Esc,'*t180R', _Esc,'*r3U', _Esc,'*r1A'>;
  1010.             EndGraphStr    NULL;
  1011.             PicWidth       <_Esc,'*r'>,<'S'>,1,1
  1012.             InitTransfer <_Esc,'*b'>,<'V'>
  1013.             PinsPerHead    1
  1014.             PixelsStep     1
  1015.             EolnStr        <_Esc,'*b0W'>;            /* EolnStr          */
  1016.             SmallEoln      NULL,NULL,1,1;           /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  1017.             EndDriverDef   ; <----------------------------
  1018.  
  1019.             ;/* LaserJet */
  1020.             ;/*    without Run Length Encoding compression     */
  1021.             ;/*===============================*/
  1022.             ;/* general HP LaserJet       */
  1023.             ;/*===============================*/
  1024.             DriverDef
  1025.             ;         4,                            /* ModesNo  */
  1026.             CompressionType 0
  1027.             DriverName       <'HP LaserJet'>
  1028.             InitPRTStr      <_Esc,'9', _Esc,'&s1C', _Esc,'*b0M'>;  /* Init PRT string */
  1029.             EndPRTStr       NULL;                   /* End PRT string */
  1030.             CompressedStr   NULL;                   /* CompressedStr  */
  1031.             UncompressedStr NULL;                   /* UncompressedStr  */
  1032.             LeftMargin     <_Esc,'*p'>,<'X'>,3,10;      /* LeftMarginStr1,LeftMarginStr2,LeftMarginDiv */
  1033.             TopMargin      <_Esc,'&l'>,<'E'>,1,166;    /* TopMarginStr1,TopMarginStr2,TopMarginDiv ????? */
  1034.             ColorsStrings  NULL,NULL, NULL;         /* ColorStr1,ColorStr2, ColorsMap */
  1035.             Options        ASCIInumbers+FormFeedNeeded+TransferValueInBytes
  1036.  
  1037.             ModeDef  75,75,2;                       /* X and Y densities, ColorsNo */
  1038.             ModeOptions  0;                         /* Planes, SimPlanes */
  1039.             ColorPalette       NULL;                /* Color palette        */
  1040.             InitGraphStr   <_Esc,'*t75R', _Esc,'*r1A' >;
  1041.             EndGraphStr    <_Esc,'*rB'>;
  1042.             PicWidth
  1043.             InitTransfer <_Esc,'*b'>,<'W'>
  1044.             PinsPerHead    1
  1045.             PixelsStep     1
  1046.             EolnStr        NULL;                    /* EolnStr          */
  1047.             SmallEoln      NULL,NULL,1,1;           /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  1048.  
  1049.             ModeDef  100,100,2;                     /* X and Y densities, ColorsNo */
  1050.             ModeOptions  0;                         /* Planes, SimPlanes */
  1051.             ColorPalette       NULL;                /* Color palette        */
  1052.             InitGraphStr   <_Esc,'*t100R', _Esc,'*r1A' >;
  1053.             EndGraphStr    <_Esc,'*rB'>;
  1054.             PicWidth
  1055.             InitTransfer <_Esc,'*b'>,<'W'>
  1056.             PinsPerHead    1
  1057.             PixelsStep     1
  1058.             EolnStr        NULL;                    /* EolnStr          */
  1059.             SmallEoln      NULL,NULL,1,1;           /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  1060.  
  1061.             ModeDef  150,150,2;                     /* X and Y densities, ColorsNo */
  1062.             ModeOptions  0;                         /* Planes, SimPlanes */
  1063.             ColorPalette       NULL;                /* Color palette        */
  1064.             InitGraphStr   <_Esc,'*t150R', _Esc,'*r1A'>;
  1065.             EndGraphStr    <_Esc,'*rB'>;
  1066.             PicWidth
  1067.             InitTransfer <_Esc,'*b'>,<'W'>
  1068.             PinsPerHead    1
  1069.             PixelsStep     1
  1070.             EolnStr        NULL;                    /* EolnStr          */
  1071.             SmallEoln      NULL,NULL,1,1;           /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  1072.  
  1073.             ModeDef  300,300,2;                     /* X and Y densities, ColorsNo */
  1074.             ModeOptions  0;                         /* Planes, SimPlanes */
  1075.             ColorPalette       NULL;                /* Color palette        */
  1076.             InitGraphStr   <_Esc,'*t300R', _Esc,'*r1A'>;
  1077.             EndGraphStr    <_Esc,'*rB'>;
  1078.             PicWidth
  1079.             InitTransfer <_Esc,'*b'>,<'W'>
  1080.             PinsPerHead    1
  1081.             PixelsStep     1
  1082.             EolnStr        NULL;                    /* EolnStr          */
  1083.             SmallEoln      NULL,NULL,1,1;           /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  1084.             EndDriverDef   ; <----------------------------
  1085.  
  1086.  
  1087.             ;/*===============================*/
  1088.             ;/* Hewlet Packard LaserJet II      */
  1089.             ;/*===============================*/
  1090.             DriverDef
  1091.             ;         4,                            /* ModesNo  */
  1092.             CompressionType RLE_COMPRESSION
  1093.             DriverName       <'HP LaserJet II'>
  1094.             InitPRTStr      <_Esc,'9', _Esc,'&s1C'>;  /* Init PRT string */
  1095.             EndPRTStr       NULL;                   /* End PRT string */
  1096.             CompressedStr   <_Esc,'*b1M'>;           /* CompressedStr  */
  1097.             UncompressedStr <_Esc,'*b0M'>;           /* UncompressedStr  */
  1098.             LeftMargin     <_Esc,'*p'>,<'X'>,3,10;      /* LeftMarginStr1,LeftMarginStr2,LeftMarginDiv */
  1099.             TopMargin      <_Esc,'&l'>,<'E'>,1,166;    /* TopMarginStr1,TopMarginStr2,TopMarginDiv ???????????? */
  1100.             ColorsStrings  NULL,NULL, NULL;         /* ColorStr1,ColorStr2, ColorsMap */
  1101.             Options        ASCIInumbers+FormFeedNeeded+TransferValueInBytes
  1102.  
  1103.             ModeDef  75,75,2;                       /* X and Y densities, ColorsNo */
  1104.             ModeOptions  0;                         /* Planes, SimPlanes */
  1105.             ColorPalette       NULL;                /* Color palette        */
  1106.             InitGraphStr   <_Esc,'*t75R', _Esc,'*r1A'>;
  1107.             EndGraphStr    <_Esc,'*rB'>;
  1108.             PicWidth
  1109.             InitTransfer <_Esc,'*b'>,<'W'>
  1110.             PinsPerHead    1
  1111.             PixelsStep     1
  1112.             EolnStr        NULL;                    /* EolnStr          */
  1113.             SmallEoln      NULL,NULL,1,1;           /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  1114.  
  1115.             ModeDef  100,100,2;                     /* X and Y densities, ColorsNo */
  1116.             ModeOptions  0;                         /* Planes, SimPlanes */
  1117.             ColorPalette       NULL;                /* Color palette        */
  1118.             InitGraphStr   <_Esc,'*t100R', _Esc,'*r1A'>;
  1119.             EndGraphStr    <_Esc,'*rB'>;
  1120.             PicWidth
  1121.             InitTransfer <_Esc,'*b'>,<'W'>
  1122.             PinsPerHead    1
  1123.             PixelsStep     1
  1124.             EolnStr        NULL;                    /* EolnStr          */
  1125.             SmallEoln      NULL,NULL,1,1;           /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  1126.  
  1127.             ModeDef  150,150,2;                     /* X and Y densities, ColorsNo */
  1128.             ModeOptions  0;                         /* Planes, SimPlanes */
  1129.             ColorPalette       NULL;                /* Color palette        */
  1130.             InitGraphStr   <_Esc,'*t150R', _Esc,'*r1A'>;
  1131.             EndGraphStr    <_Esc,'*rB'>;
  1132.             PicWidth
  1133.             InitTransfer <_Esc,'*b'>,<'W'>
  1134.             PinsPerHead    1
  1135.             PixelsStep     1
  1136.             EolnStr        NULL;                    /* EolnStr          */
  1137.             SmallEoln      NULL,NULL,1,1;           /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  1138.  
  1139.             ModeDef  300,300,2;                     /* X and Y densities, ColorsNo */
  1140.             ModeOptions  0;                         /* Planes, SimPlanes */
  1141.             ColorPalette       NULL;                /* Color palette        */
  1142.             InitGraphStr   <_Esc,'*t300R', _Esc,'*r1A'>;
  1143.             EndGraphStr    <_Esc,'*rB'>;
  1144.             PicWidth
  1145.             InitTransfer <_Esc,'*b'>,<'W'>
  1146.             PinsPerHead    1
  1147.             PixelsStep     1
  1148.             EolnStr        NULL;                    /* EolnStr          */
  1149.             SmallEoln      NULL,NULL,1,1;           /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  1150.             EndDriverDef   ; <----------------------------
  1151.  
  1152.  
  1153.    if   0
  1154.          ;/*===============================*/
  1155.          ;/* 9 pins : EPSON                */
  1156.          ;/*===============================*/
  1157.          DriverDef
  1158.          ;         2,                            /* ModesNo  */
  1159.          CompressionType 0
  1160.          DriverName       <'9 pin: EPSON (9 pin graphic)'>
  1161.          InitPRTStr      NULL;                   /* Init PRT string */
  1162.          EndPRTStr       NULL;                   /* End PRT string */
  1163.          CompressedStr   NULL;                   /* CompressedStr  */
  1164.          UncompressedStr NULL;                   /* UncompressedStr  */
  1165.          LeftMargin     <_Esc,'l'>,NULL,1,100;      /* LeftMarginStr1,LeftMarginStr2,LeftMarginDiv */
  1166.          TopMargin      <_Esc,'c'>,NULL,1,166;      /* TopMarginStr1,TopMarginStr2,TopMarginDiv ???????????? */
  1167.          ColorsStrings  NULL,NULL, NULL;         /* ColorStr1,ColorStr2, ColorsMap */
  1168.          Options        0
  1169.  
  1170.          ModeDef  120,72;                        /* X and Y densities, ColorsNo */
  1171.          ModeOptions  0;                         /* Planes, SimPlanes */
  1172.          ColorPalette       NULL;                /* Color palette        */
  1173.          InitGraphStr   NULL;                    /* InitGraphStr */
  1174.          EndGraphStr    NULL;                    /* EndGraphStr  */
  1175.          PicWidth
  1176.          InitTransfer <CR, _Esc,05Eh,1>,NULL
  1177.          PinsPerHead    9
  1178.          PixelsStep     1
  1179.          EolnStr        NULL;                    /* EolnStr          */
  1180.          SmallEoln  <_Esc,04Ah>,NULL,3,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  1181.  
  1182.          ModeDef  120,216,2;                     /* X and Y densities, ColorsNo */
  1183.          ModeOptions  0;                         /* Planes, SimPlanes */
  1184.          ColorPalette       NULL;                /* Color palette        */
  1185.          InitGraphStr   NULL;                    /* InitGraphStr */
  1186.          EndGraphStr    NULL;                    /* EndGraphStr  */
  1187.          PicWidth
  1188.          InitTransfer <CR, _Esc,05Eh,1>,NULL
  1189.          PinsPerHead    9
  1190.          PixelsStep     3
  1191.          EolnStr        NULL;                    /* EolnStr          */
  1192.          SmallEoln  <_Esc,04Ah>,NULL,1,1;         /* SmallEoln,SmallEolnMult,SmallEolnDiv   */
  1193.          EndDriverDef   ; <----------------------------
  1194.    endif
  1195.  
  1196.  
  1197.    EndDrivers
  1198.  
  1199.      END
  1200.  
  1201.      END
  1202.